package com.ruoyi.ucar.voreq;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.ucar.common.PageBeanReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

@ApiModel("客户列表查询入参")
@Data
public class CustomerListQueryVoReq extends PageBeanReq implements Serializable {
    @ApiModelProperty("客户姓名")
    private String customerName;

    @ApiModelProperty("客户电话")
    private String customerPhone;

    @ApiModelProperty("客户微信号")
    private String customerWechat;

    @ApiModelProperty("分享编号")
    private String shareCode;

    @ApiModelProperty("上级代理uuid")
    private String parentCustomerUuid;

    @ApiModelProperty("注册日期-开始日期（yyyy-MM-dd）")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registerBeginDate;

    @ApiModelProperty("注册日期-结束日期（yyyy-MM-dd）")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registerEndDate;

}
